curl --request POST \
--url https://metadata.sequence.app/rpc/Collections/UpdateCollection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"projectId": 30957,
"collection": {
"projectId": 30957,
"id": 888,
"private": true,
"metadata": {
"name": "Sandbox Chronicles Modified",
"description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.",
"externalLink": "https://sequence.xyz/",
"properties": {
"maxNfts": 1000,
"minNfts": "1",
"funCollection": false
}
}
}
}'
{
"collection": {
"id": 888,
"projectId": 30957,
"metadata": {
"name": "Sandbox Chronicles Modified",
"description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.",
"properties": {
"funCollection": false,
"maxNfts": 1000,
"minNfts": "1"
}
},
"private": true,
"createdAt": "2024-10-23T07:02:00.905283Z",
"updatedAt": "2024-10-23T07:10:45.118089375Z",
"baseURIs": {
"contractMetadataURI": "https://metadata.sequence.app/projects/30957/collections/888.json",
"tokenMetadataURI": "https://metadata.sequence.app/projects/30957/collections/888/tokens/"
}
}
}
curl --request POST \
--url https://metadata.sequence.app/rpc/Collections/UpdateCollection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"projectId": 30957,
"collection": {
"projectId": 30957,
"id": 888,
"private": true,
"metadata": {
"name": "Sandbox Chronicles Modified",
"description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.",
"externalLink": "https://sequence.xyz/",
"properties": {
"maxNfts": 1000,
"minNfts": "1",
"funCollection": false
}
}
}
}'
{
"collection": {
"id": 888,
"projectId": 30957,
"metadata": {
"name": "Sandbox Chronicles Modified",
"description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.",
"properties": {
"funCollection": false,
"maxNfts": 1000,
"minNfts": "1"
}
},
"private": true,
"createdAt": "2024-10-23T07:02:00.905283Z",
"updatedAt": "2024-10-23T07:10:45.118089375Z",
"baseURIs": {
"contractMetadataURI": "https://metadata.sequence.app/projects/30957/collections/888.json",
"tokenMetadataURI": "https://metadata.sequence.app/projects/30957/collections/888/tokens/"
}
}
}
Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.
OK
The response is of type object
.
このページは役に立ちましたか?